import Vue from 'vue'
import App from './App.vue'

import router from './router'
import store from './store'

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
/*
路由的模式
    hash模式(默认)：http://localhost:8080/#/home
    history模式(常用):http://localhost:8080/home
    const router = new VueRouter({
        routes,
        // mode:"hash",hash模式
        mode: "history",//history模式
})
*/